import {
  Controller,
  Get,
  Post,
  Body,
  Patch,
  Param,
  Delete,
} from '@nestjs/common';
import { BbbService } from './bbb.service';
import { CreateBbbDto } from './dto/create-bbb.dto';
import { UpdateBbbDto } from './dto/update-bbb.dto';
import { AaaService } from 'src/aaa/aaa.service';

@Controller('bbb')
export class BbbController {
  constructor(private readonly aaaService: AaaService) {}

  create(createBbbDto: CreateBbbDto) {
    return 'This action adds a new bbb';
  }

  @Get()
  findAll() {
    return `This action returns all bbb` + this.aaaService.findAll();
  }
}
